#include<stdio.h>
int main()
{
	char i;
	i=getchar();
	putchar(i);
	putchar('\n');
	//getchar();
	putchar(getchar());
	putchar('\n');
	return 0;
}
